import Vue from 'vue'
import App from './App'
import uView from '@/uni_modules/uview-ui'
import share from '@/util/share.js'
Vue.config.productionTip = false
// vuex
import store from './store'
Vue.prototype.$store = store
App.mpType = 'app'
Vue.use(uView)

// 导入并挂载全局的分享方法
Vue.mixin(share)

const app = new Vue({
	...App
})

// 引入请求封装
require('./util/request/index')(app)
app.$mount()
